package com.zdb.n1.payload.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RankingResponse {
    private Long userId;
    private String username;
    private Integer rank;
    private Double value;  // 可以是时长(分钟)、卡路里或目标完成率(%)
    private String valueLabel; // 格式化后的值，如"120分钟"、"500卡路里"等
    private String avatar;  // 用户头像URL，可选
} 